package com.topisv.tms.entity;

import java.util.Date;
import java.util.List;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import javax.persistence.Transient;

import com.fasterxml.jackson.annotation.JsonFormat;

@Entity
@Table(name = "edi_order")
public class EdiOrder extends IdEntity implements Cloneable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	

	private String customerOrdeno;//商家订单号
	
	private String platformCustomerCode;//平台商家编码
	
    private List<EdiOrderItem> orderItems;
    private String mailNo;//运单号
    private String originCode;//原寄地代码
    private String destCode;//目的地代码
    private String filterResult;//筛单结果:1(人工确认)，2(可派收),3(不可派收)
    private String remark;
    private String warehouseCode;//作业仓库网点
    
    private String rankno;//打印顺序
    
    private Integer totalWeight;
    private String checkRepeat;//唯一索引 重复订单
    private Integer regionalLevel;//区域等级，1可达区域 2超区
    
    private String skuMatch;//0 默认,1.多件单品。2.多件组合
    
    
    
    private Date lastRestOrderTime;// add 20160713 批量重接订单的处理时间 by zhangweize 
    
    private String prioritySendFlag = "0";//优先派送标志 0:否 1:是  
    
    private int skuTypeNum;//add 20161014 sku种类数量 bug547 by zhangweize

	@Transient
	public int getSkuTypeNum() {
		return skuTypeNum;
	}
	public void setSkuTypeNum(int skuTypeNum) {
		this.skuTypeNum = skuTypeNum;
	}
    public String getPrioritySendFlag() {
		return prioritySendFlag;
	}
	public void setPrioritySendFlag(String prioritySendFlag) {
		this.prioritySendFlag = prioritySendFlag;
	}
	public Date getLastRestOrderTime() {
		return lastRestOrderTime;
	}
	public void setLastRestOrderTime(Date lastRestOrderTime) {
		this.lastRestOrderTime = lastRestOrderTime;
	}
	public String getCheckRepeat() {
		return checkRepeat;
	}
	public void setCheckRepeat(String checkRepeat) {
		this.checkRepeat = checkRepeat;
	}

	public Integer getRegionalLevel() {
		return regionalLevel;
	}
	public void setRegionalLevel(Integer regionalLevel) {
		this.regionalLevel = regionalLevel;
	}


	/**
     * 克隆方法
     */
    public Object clone()
    {
	    Object o=null;
	    try{
	       o=super.clone();
	    }
	    catch(CloneNotSupportedException e){
	    }
	    return o;
    }
    
	public String getSkuMatch() {
		return skuMatch;
	}

	public void setSkuMatch(String skuMatch) {
		this.skuMatch = skuMatch;
	}

	public String getMailNo() {
		return mailNo;
	}


	public void setMailNo(String mailNo) {
		this.mailNo = mailNo;
	}


	public String getPlatformCustomerCode() {
		return platformCustomerCode;
	}

	public void setPlatformCustomerCode(String platformCustomerCode) {
		this.platformCustomerCode = platformCustomerCode;
	}


	@Transient
	public List<EdiOrderItem> getOrderItems() {
		return orderItems;
	}
	public String getOriginCode() {
		return originCode;
	}

	public void setOriginCode(String originCode) {
		this.originCode = originCode;
	}
	public String getDestCode() {
		return destCode;
	}

	public void setDestCode(String destCode) {
		this.destCode = destCode;
	}
	public String getFilterResult() {
		return filterResult;
	}

	public void setFilterResult(String filterResult) {
		this.filterResult = filterResult;
	}
	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public void setOrderItems(List<EdiOrderItem> orderItems) {
		this.orderItems = orderItems;
	}
	
	
	public String getCustomerOrdeno() {
		return customerOrdeno;
	}

	public void setCustomerOrdeno(String customerOrdeno) {
		this.customerOrdeno = customerOrdeno;
	}

	private String pickStore;//
	
	public String getPickStore() {
		return pickStore;
	}

	public void setPickStore(String pickStore) {
		this.pickStore = pickStore;
	}

	private String batchTaskCode;//分拣批次号
	
	private String backupTaskCode;//分拣任务号
	
	private String batchCode;//出库批号
	
	public String getBatchTaskCode() {
		return batchTaskCode;
	}

	public void setBatchTaskCode(String batchTaskCode) {
		this.batchTaskCode = batchTaskCode;
	}
	
	public String getBackupTaskCode() {
		return backupTaskCode;
	}

	public void setBackupTaskCode(String backupTaskCode) {
		this.backupTaskCode = backupTaskCode;
	}
	
	public String getBatchCode() {
		return batchCode;
	}

	public void setBatchCode(String batchCode) {
		this.batchCode = batchCode;
	}

	private String areaGroupCode;
	@Column(name="area_group_code")
	public String getAreaGroupCode() {
		return areaGroupCode;
	}

	public void setAreaGroupCode(String areaGroupCode) {
		this.areaGroupCode = areaGroupCode;
	}

	private String bz;//
	
	@Transient
	public String getBz() {
		return bz;
	}

	public void setBz(String bz) {
		this.bz = bz;
	}

	private String forwardSign;//中转发标识
	@Column(name="forward_sign")
	public String getForwardSign() {
		return forwardSign;
	}

	public void setForwardSign(String forwardSign) {
		this.forwardSign = forwardSign;
	}
	
	private String waybillNo;
	@Column(name="waybill_no")
	public String getWaybillNo() {
		return waybillNo;
	}

	public void setWaybillNo(String waybillNo) {
		this.waybillNo = waybillNo;
	}

	private int isspec;// :0,

	@Transient
	public int getIsspec() {
		return isspec;
	}

	public void setIsspec(int isspec) {
		this.isspec = isspec;
	}
	@Column(name="spec")
	private String spec;
	public String getSpec() {
		return spec;
	}

	public void setSpec(String spec) {
		this.spec = spec;
	}
	
	
	private String specmk;// :null,

	@Transient
	public String getSpecmk() {
		return specmk;
	}

	public void setSpecmk(String specmk) {
		this.specmk = specmk;
	}

	private boolean isforced;// :false,

	@Transient
	public boolean getIsforced() {
		return isforced;
	}

	public void setIsforced(boolean isforced) {
		this.isforced = isforced;
	}

	private String codnum;// :null

	@Transient
	public String getCodnum() {
		return codnum;
	}

	public void setCodnum(String codnum) {
		this.codnum = codnum;
	}
	
	private String shopCode;
	@Column(name = "shop_code")
	public String getShopCode() {
		return shopCode;
	}

	public void setShopCode(String shopCode) {
		this.shopCode = shopCode;
	}

	private String orderType;
	private String deliveryOrderType;//发货单类型必填, JYCK=一般交易出库单, HHCK=换货出库单,BFCK=补发出库单
	private String orderFlag;//订单标记 ，用字符串格式来表示订单标记列表： 比如 COD, 中间用“^” 来隔开，string (200) ， COD =货到付款 , LIMIT=限时配送 , PRESELL=预售 , COMPLAIN=已投诉 , SPLIT=拆单, EXCHANGE=换货, VISIT=上门 , MODIFYTRANSPORT=是否可改配送方式, 是否可改配送方式 默认可更改 , CONSIGN =物流宝代理发货, 自动更改发货状态SELLER_AFFORD =是否卖家承担运费 默认是, 即没 , FENXIAO=分销订单
	private String sourcePlatformCode;
	private String sourcePlatformName;
	
	
	public String getSourcePlatformCode() {
		return sourcePlatformCode;
	}


	public void setSourcePlatformCode(String sourcePlatformCode) {
		this.sourcePlatformCode = sourcePlatformCode;
	}


	public String getSourcePlatformName() {
		return sourcePlatformName;
	}


	public void setSourcePlatformName(String sourcePlatformName) {
		this.sourcePlatformName = sourcePlatformName;
	}


	public String getDeliveryOrderType() {
		return deliveryOrderType;
	}

	public String getOrderFlag() {
		return orderFlag;
	}

	public void setOrderFlag(String orderFlag) {
		this.orderFlag = orderFlag;
	}


	public void setDeliveryOrderType(String deliveryOrderType) {
		this.deliveryOrderType = deliveryOrderType;
	}

	private int skuQty;//订单商品数量

	@Column(name = "sku_qty")
	public int getSkuQty() {
		return skuQty;
	}

	public void setSkuQty(int skuQty) {
		this.skuQty = skuQty;
	}

	private String status;

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	private String erpType;

	private String shopId;

	@Column(name = "shop_id")
	public String getShopId() {
		return shopId;
	}

	public void setShopId(String shopId) {
		this.shopId = shopId;
	}

	@Column(name = "erp_type")
	public String getErpType() {
		return erpType;
	}

	public void setErpType(String erpType) {
		this.erpType = erpType;
	}

	@Column(name = "order_status")
	public String getOrderStatus() {
		return orderStatus;
	}

	public void setOrderStatus(String orderStatus) {
		this.orderStatus = orderStatus;
	}

	@Column(name = "customer_code")
	public String getCustomerCode() {
		return customerCode;
	}

	public void setCustomerCode(String customerCode) {
		this.customerCode = customerCode;
	}

	private String orderStatus;

	private String customerCode;

	@Column(name = "order_type")
	public String getOrderType() {
		return orderType;
	}

	public void setOrderType(String orderType) {
		this.orderType = orderType;
	}

	private String opform;
	private String fromno;

	public String getOpform() {
		return opform;
	}

	public void setOpform(String opform) {
		this.opform = opform;
	}

	public String getFromno() {
		return fromno;
	}

	public void setFromno(String fromno) {
		this.fromno = fromno;
	}

	private String ordeno;// varchar(64) NOT NULL COMMENT '商家订单号',
	private String fromty;// varchar(20) NOT NULL,
	private Long priori;// int(11) NOT NULL,
	private Date crtime;// datetime NOT NULL,
	private Date patime;// datetime DEFAULT NULL,
	private Date adtime;// datetime NOT NULL COMMENT '审核时间（即生成通知单的时间）',
	private String aduser;// varchar(30) NOT NULL COMMENT '审核人编码',
	private String whcode;// varchar(30) NOT NULL COMMENT '仓库编码',
	private String cacode;// varchar(20) DEFAULT NULL COMMENT//
							// '物流公司编码（自提时没有承运商）',
	private String caname;// varchar(50) DEFAULT NULL COMMENT '物流公司名称',
	private String oldCacode;//原始物流公司编码
	private Double posfee;// decimal(18,4) NOT NULL COMMENT '邮费',
	private boolean piscod;// tinyint(4) NOT NULL COMMENT '是否货到付款',
	private boolean isdelv;// tinyint(4) NOT NULL COMMENT '是否需要配送（F＝自提）',
	private boolean isvip; // 是否是vip用户
	private String shopna;// varchar(100) DEFAULT NULL COMMENT//
							// '来源店铺名（如：OSA旗舰店）',
	private String bunick;// varchar(100) DEFAULT NULL COMMENT '会员昵称',
	private String custna;// varchar(100) DEFAULT NULL COMMENT '会员名称',
	private String recena;// varchar(30) NOT NULL COMMENT '收货人名称',
	private String postco;// varchar(10) DEFAULT NULL COMMENT '邮政编码',
	private String provco;// varchar(50) DEFAULT NULL COMMENT '省编码',
	private String provna;// varchar(50) DEFAULT NULL COMMENT '省名称',
	private String cityco;// varchar(50) DEFAULT NULL COMMENT '市名称',
	private String cityna;// varchar(50) DEFAULT NULL COMMENT '市编码',
	private String distco;// varchar(50) DEFAULT NULL COMMENT '区编码',
	private String distna;// varchar(50) DEFAULT NULL COMMENT '区名称',
	private String addres;// varchar(50) NOT NULL COMMENT '收件地址',
	private String mobile;// varchar(50) NOT NULL COMMENT '移动电话',
	private String teleph;// varchar(50) DEFAULT NULL COMMENT '固定电话',
	private String sememo;// varchar(500) DEFAULT NULL COMMENT '卖家留言',
	private String bumemo;// varchar(500) DEFAULT NULL COMMENT '买家留言',
	private String shmemo;// varchar(500) DEFAULT NULL COMMENT '商家留言',
	private Double ordeca;// decimal(18,4) DEFAULT NULL COMMENT '配货单应收金额',
	private boolean isInvoice;// tinyint(4) DEFAULT NULL COMMENT '是否开发票',
	private String invoiceTitle;//发票抬头
	private String invoiceContent;//发票内容
	private Double invoiceAmount;//发票金额
	private boolean isTopay;// tinyint(4) DEFAULT NULL COMMENT '是否到付',
	private String gymemo;// varchar(500) DEFAULT NULL COMMENT '内部便签',
	private List<EdiOrderItem> skulst;
	private int preType;
	private String message;
	private Double actuallyPaid;// decimal(18,4) DEFAULT NULL COMMENT
	private String podFlag;//代收金额标示
	private Double podAmount;//代收总金额
	private String receiver;//收货方代码(用于B2B结算)
	private String receiverName;//收货方名称
	private Date planOutTime;//计划发货时间
	private Date planArriveTime;//计划到货时间
	private String subCustomerCode;//分销客户代码
	private String subCustomerName ;//分销客户名称
	private String senderPhone;//发货人联系电话;
	private String oldOrdNo;//原单号
	//private Integer lineNo;//行号
	private String cusWarehouseCode;//客户仓库编码
	private String dispatchFlag;
	
	private String returnStatus;// add bug536 天天订单回传状态
   
	
	public String getReturnStatus() {
		return returnStatus;
	}
	public void setReturnStatus(String returnStatus) {
		this.returnStatus = returnStatus;
	}


	/**
	 * 身份证号
	 */
	private String receIdNumber;

	/**
	 * 收件人所在国家
	 */
	private String receCountry;
	
	/**
	 * 行邮税号
	 */
	private String seawayMailNumber;
	
	/**
	 * 海关编码Hscode
	 */
	private String haikwanCode;
	
	/**
	 * 净重
	 */
	private String suttleWeight;
	
	/**
	 * 毛重
	 */
	private String grossWeight;
	
	/**
	 * 币制
	 */
	private String currency;
	
	/**
	 * 单位
	 */
	private String unit;
	
	/**
	 * 订单总金额
	 */
	private Double totalAmount;
	
	// '配货单实际支付金额',

	public boolean getIsvip() {
		return isvip;
	}

	public void setIsvip(boolean isvip) {
		this.isvip = isvip;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	@Transient
	public int getPreType() {
		return preType;
	}

	public String getReceiver() {
		return receiver;
	}


	public void setReceiver(String receiver) {
		this.receiver = receiver;
	}


	public String getReceiverName() {
		return receiverName;
	}


	public void setReceiverName(String receiverName) {
		this.receiverName = receiverName;
	}


	public Date getPlanOutTime() {
		return planOutTime;
	}


	public void setPlanOutTime(Date planOutTime) {
		this.planOutTime = planOutTime;
	}


	public Date getPlanArriveTime() {
		return planArriveTime;
	}


	public void setPlanArriveTime(Date planArriveTime) {
		this.planArriveTime = planArriveTime;
	}


	public String getInvoiceContent() {
		return invoiceContent;
	}


	public void setInvoiceContent(String invoiceContent) {
		this.invoiceContent = invoiceContent;
	}


	public String getSubCustomerCode() {
		return subCustomerCode;
	}


	public void setSubCustomerCode(String subCustomerCode) {
		this.subCustomerCode = subCustomerCode;
	}


	public String getSubCustomerName() {
		return subCustomerName;
	}


	public void setSubCustomerName(String subCustomerName) {
		this.subCustomerName = subCustomerName;
	}


	public String getSenderPhone() {
		return senderPhone;
	}


	public void setSenderPhone(String senderPhone) {
		this.senderPhone = senderPhone;
	}


	public void setPreType(int preType) {
		this.preType = preType;
	}

	@Column(name = "actually_paid")
	public Double getActuallyPaid() {
		return actuallyPaid;
	}

	public void setActuallyPaid(Double ActuallyPaid) {
		this.actuallyPaid = ActuallyPaid;
	}

	@Transient
	public List<EdiOrderItem> getSkulst() {
		return skulst;
	}

	public void setSkulst(List<EdiOrderItem> skulst) {
		this.skulst = skulst;
	}

	public String getOrdeno() {
		return ordeno;
	}

	public void setOrdeno(String ordeno) {
		this.ordeno = ordeno;
	}

	public String getFromty() {
		return fromty;
	}

	public void setFromty(String fromty) {
		this.fromty = fromty;
	}

	public Long getPriori() {
		return priori;
	}

	public void setPriori(Long priori) {
		this.priori = priori;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "crtime", nullable = false, length = 19)
	public Date getCrtime() {
		return crtime;
	}

	public void setCrtime(Date crtime) {
		this.crtime = crtime;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "patime", nullable = false, length = 19)
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
	public Date getPatime() {
		return patime;
	}

	public void setPatime(Date patime) {
		this.patime = patime;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "adtime", nullable = false, length = 19)
	public Date getAdtime() {
		return adtime;
	}

	public void setAdtime(Date adtime) {
		this.adtime = adtime;
	}

	public String getAduser() {
		return aduser;
	}

	public void setAduser(String aduser) {
		this.aduser = aduser;
	}

	public String getWhcode() {
		return whcode;
	}

	public void setWhcode(String whcode) {
		this.whcode = whcode;
	}

	public String getCacode() {
		return cacode;
	}

	public void setCacode(String cacode) {
		this.cacode = cacode;
	}

	public String getCaname() {
		return caname;
	}

	public void setCaname(String caname) {
		this.caname = caname;
	}

	public Double getPosfee() {
		return posfee;
	}

	public void setPosfee(Double posfee) {
		this.posfee = posfee;
	}

	public boolean getPiscod() {
		return piscod;
	}

	public void setPiscod(boolean piscod) {
		this.piscod = piscod;
	}

	public boolean getIsdelv() {
		return isdelv;
	}

	public void setIsdelv(boolean isdelv) {
		this.isdelv = isdelv;
	}

	public String getShopna() {
		return shopna;
	}

	public void setShopna(String shopna) {
		this.shopna = shopna;
	}

	public String getBunick() {
		return bunick;
	}

	public void setBunick(String bunick) {
		this.bunick = bunick;
	}

	public String getCustna() {
		return custna;
	}

	public void setCustna(String custna) {
		this.custna = custna;
	}

	public String getRecena() {
		return recena;
	}

	public void setRecena(String recena) {
		this.recena = recena;
	}

	public String getPostco() {
		return postco;
	}

	public void setPostco(String postco) {
		this.postco = postco;
	}

	public String getProvco() {
		return provco;
	}

	public void setProvco(String provco) {
		this.provco = provco;
	}

	public String getProvna() {
		return provna;
	}

	public void setProvna(String provna) {
		this.provna = provna;
	}

	public String getCityco() {
		return cityco;
	}

	public void setCityco(String cityco) {
		this.cityco = cityco;
	}

	public String getCityna() {
		return cityna;
	}

	public void setCityna(String cityna) {
		this.cityna = cityna;
	}

	public String getDistco() {
		return distco;
	}

	public void setDistco(String distco) {
		this.distco = distco;
	}

	public String getDistna() {
		return distna;
	}

	public void setDistna(String distna) {
		this.distna = distna;
	}

	public String getAddres() {
		return addres;
	}

	public void setAddres(String addres) {
		this.addres = addres;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getTeleph() {
		return teleph;
	}

	public void setTeleph(String teleph) {
		this.teleph = teleph;
	}

	public String getSememo() {
		return sememo;
	}

	public void setSememo(String sememo) {
		this.sememo = sememo;
	}

	public String getBumemo() {
		return bumemo;
	}

	public void setBumemo(String bumemo) {
		this.bumemo = bumemo;
	}

	public String getShmemo() {
		return shmemo;
	}

	public void setShmemo(String shmemo) {
		this.shmemo = shmemo;
	}

	public Double getOrdeca() {
		return ordeca;
	}

	public void setOrdeca(Double ordeca) {
		this.ordeca = ordeca;
	}

	@Column(name = "is_invoice")
	public boolean getIsInvoice() {
		return isInvoice;
	}

	public void setIsInvoice(boolean isInvoice) {
		this.isInvoice = isInvoice;
	}

	@Column(name = "is_topay")
	public boolean getIsTopay() {
		return isTopay;
	}

	public void setIsTopay(boolean isTopay) {
		this.isTopay = isTopay;
	}

	public String getGymemo() {
		return gymemo;
	}

	public void setGymemo(String gymemo) {
		this.gymemo = gymemo;
	}


	public String getWarehouseCode() {
		return warehouseCode;
	}


	public void setWarehouseCode(String warehouseCode) {
		this.warehouseCode = warehouseCode;
	}
	
	//dto属性
	private String sku;


	@Transient
	public String getSku() {
		return sku;
	}


	public void setSku(String sku) {
		this.sku = sku;
	}

	@Transient
	public String getRankno() {
		return rankno;
	}


	public void setRankno(String rankno) {
		this.rankno = rankno;
	}
	
	private String toShortAddress;//目的地大头笔


	public String getToShortAddress() {
		return toShortAddress;
	}


	public void setToShortAddress(String toShortAddress) {
		this.toShortAddress = toShortAddress;
	}


	public String getInvoiceTitle() {
		return invoiceTitle;
	}


	public void setInvoiceTitle(String invoiceTitle) {
		this.invoiceTitle = invoiceTitle;
	}


	public Double getInvoiceAmount() {
		return invoiceAmount;
	}


	public void setInvoiceAmount(Double invoiceAmount) {
		this.invoiceAmount = invoiceAmount;
	}


	public String getPodFlag() {
		return podFlag;
	}

	public void setPodFlag(String podFlag) {
		this.podFlag = podFlag;
	}

	public Double getPodAmount() {
		return podAmount;
	}

	public void setPodAmount(Double podAmount) {
		this.podAmount = podAmount;
	}

	@Transient
	public String getOldOrdNo() {
		return oldOrdNo;
	}

	public void setOldOrdNo(String oldOrdNo) {
		this.oldOrdNo = oldOrdNo;
	}


	/*public Integer getLineNo() {
		return lineNo;
	}


	public void setLineNo(Integer lineNo) {
		this.lineNo = lineNo;
	}*/


	public String getCusWarehouseCode() {
		return cusWarehouseCode;
	}

	public void setCusWarehouseCode(String cusWarehouseCode) {
		this.cusWarehouseCode = cusWarehouseCode;
	}


	public String getOldCacode() {
		return oldCacode;
	}


	public void setOldCacode(String oldCacode) {
		this.oldCacode = oldCacode;
	}
	private Date placeOrderTime;//前台订单 (店铺订单) 创建时间 (下单时间)
	private Date outCreateTime;//外部订单创建时间
	private String payNo;
	private String sellerNick;//卖家昵称
	private String scheduleType;
	private String scheduleDay;
	private String scheduleStartTime;
	private String scheduleEndTime;
	private String isUrgency;//是否紧急
	private String town;//村镇
	private String insuranceType;//保险类型
	private Double insuranceAmt;//保险金额



	public String getDispatchFlag() {
		return dispatchFlag;
	}


	public void setDispatchFlag(String dispatchFlag) {
		this.dispatchFlag = dispatchFlag;
	}
	
	public String getIsUrgency() {
		return isUrgency;
	}


	public void setIsUrgency(String isUrgency) {
		this.isUrgency = isUrgency;
	}


	public String getScheduleType() {
		return scheduleType;
	}


	public void setScheduleType(String scheduleType) {
		this.scheduleType = scheduleType;
	}


	public String getScheduleDay() {
		return scheduleDay;
	}


	public void setScheduleDay(String scheduleDay) {
		this.scheduleDay = scheduleDay;
	}


	public String getScheduleStartTime() {
		return scheduleStartTime;
	}


	public void setScheduleStartTime(String scheduleStartTime) {
		this.scheduleStartTime = scheduleStartTime;
	}


	public String getScheduleEndTime() {
		return scheduleEndTime;
	}


	public void setScheduleEndTime(String scheduleEndTime) {
		this.scheduleEndTime = scheduleEndTime;
	}


	public String getSellerNick() {
		return sellerNick;
	}

	public void setSellerNick(String sellerNick) {
		this.sellerNick = sellerNick;
	}

	public Date getPlaceOrderTime() {
		return placeOrderTime;
	}

	public void setPlaceOrderTime(Date placeOrderTime) {
		this.placeOrderTime = placeOrderTime;
	}

	public String getPayNo() {
		return payNo;
	}

	public void setPayNo(String payNo) {
		this.payNo = payNo;
	}


	public Date getOutCreateTime() {
		return outCreateTime;
	}

	public void setOutCreateTime(Date outCreateTime) {
		this.outCreateTime = outCreateTime;
	}


	public String getTown() {
		return town;
	}


	public void setTown(String town) {
		this.town = town;
	}


	public String getInsuranceType() {
		return insuranceType;
	}


	public void setInsuranceType(String insuranceType) {
		this.insuranceType = insuranceType;
	}


	public Double getInsuranceAmt() {
		return insuranceAmt;
	}


	public void setInsuranceAmt(Double insuranceAmt) {
		this.insuranceAmt = insuranceAmt;
	}

	@Transient
	public Integer getTotalWeight() {
		return totalWeight;
	}


	public void setTotalWeight(Integer totalWeight) {
		this.totalWeight = totalWeight;
	}


	public String getReceIdNumber() {
		return receIdNumber;
	}


	public void setReceIdNumber(String receIdNumber) {
		this.receIdNumber = receIdNumber;
	}


	public String getReceCountry() {
		return receCountry;
	}


	public void setReceCountry(String receCountry) {
		this.receCountry = receCountry;
	}


	public String getSeawayMailNumber() {
		return seawayMailNumber;
	}


	public void setSeawayMailNumber(String seawayMailNumber) {
		this.seawayMailNumber = seawayMailNumber;
	}


	public String getHaikwanCode() {
		return haikwanCode;
	}


	public void setHaikwanCode(String haikwanCode) {
		this.haikwanCode = haikwanCode;
	}


	public String getSuttleWeight() {
		return suttleWeight;
	}


	public void setSuttleWeight(String suttleWeight) {
		this.suttleWeight = suttleWeight;
	}


	public String getGrossWeight() {
		return grossWeight;
	}


	public void setGrossWeight(String grossWeight) {
		this.grossWeight = grossWeight;
	}


	public String getCurrency() {
		return currency;
	}


	public void setCurrency(String currency) {
		this.currency = currency;
	}

	public String getUnit() {
		return unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	public Double getTotalAmount() {
		return totalAmount;
	}
	
	public void setTotalAmount(Double totalAmount) {
		this.totalAmount = totalAmount;
	}
	
	public void setInvoice(boolean isInvoice) {
		this.isInvoice = isInvoice;
	}

	public void setTopay(boolean isTopay) {
		this.isTopay = isTopay;
	}
	
	
	/**打印菜鸟所需的字段***/
	private String productType;// 产品类型
	private String packageCenterName;// 集散地名称
	private String packageCenterCode;// 集散地编码
	private String shippingBranchName;// 发件网点名称
	private String shippingBranchCode;// 发件网点代码
	private String extSFBizType;// 业务类型(顺丰要求)
	private String shippingAddressCity;// 发件城市
	private String printConfig;//打印串，需传给打印组件
	@Transient
	public String getProductType() {
		return productType;
	}
	public void setProductType(String productType) {
		this.productType = productType;
	}
	@Transient
	public String getPackageCenterName() {
		return packageCenterName;
	}
	public void setPackageCenterName(String packageCenterName) {
		this.packageCenterName = packageCenterName;
	}
	@Transient
	public String getPackageCenterCode() {
		return packageCenterCode;
	}
	public void setPackageCenterCode(String packageCenterCode) {
		this.packageCenterCode = packageCenterCode;
	}
	@Transient
	public String getShippingBranchName() {
		return shippingBranchName;
	}
	public void setShippingBranchName(String shippingBranchName) {
		this.shippingBranchName = shippingBranchName;
	}
	@Transient
	public String getShippingBranchCode() {
		return shippingBranchCode;
	}
	public void setShippingBranchCode(String shippingBranchCode) {
		this.shippingBranchCode = shippingBranchCode;
	}
	@Transient
	public String getExtSFBizType() {
		return extSFBizType;
	}
	public void setExtSFBizType(String extSFBizType) {
		this.extSFBizType = extSFBizType;
	}
	@Transient
	public String getShippingAddressCity() {
		return shippingAddressCity;
	}
	public void setShippingAddressCity(String shippingAddressCity) {
		this.shippingAddressCity = shippingAddressCity;
	}
	@Transient
	public String getPrintConfig() {
		return printConfig;
	}
	public void setPrintConfig(String printConfig) {
		this.printConfig = printConfig;
	}
	
	private String sendCompany;//寄件人公司
	private String sendna;//寄件人
	private String sendMobile;//寄件手机
	private String sendAddress;//寄件人地址
	private String receCompany;//收件人公司
	
	@Transient
	public String getSendCompany() {
		return sendCompany;
	}

	public void setSendCompany(String sendCompany) {
		this.sendCompany = sendCompany;
	}

	@Transient
	public String getSendna() {
		return sendna;
	}

	public void setSendna(String sendna) {
		this.sendna = sendna;
	}

	@Transient
	public String getSendMobile() {
		return sendMobile;
	}

	public void setSendMobile(String sendMobile) {
		this.sendMobile = sendMobile;
	}

	@Transient
	public String getSendAddress() {
		return sendAddress;
	}

	public void setSendAddress(String sendAddress) {
		this.sendAddress = sendAddress;
	}

	@Transient
	public String getReceCompany() {
		return receCompany;
	}

	public void setReceCompany(String receCompany) {
		this.receCompany = receCompany;
	}
	
	
}